home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / gui / app / menubar.pyo (.txt) < prev   
Python Compiled Bytecode  |  2008-10-13  |  4KB  |  73 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. import wx
  5. import sys
  6. import actions
  7. from gui.model.menus import *
  8. from config import platformName
  9.  
  10. def digsbyWxMenuBar():
  11.     menus = []
  12.     digsby = Menu(_('&Digsby'))
  13.     status = Menu()
  14.     status.addItem(_('&New Status Message...'), id = actions.NewStatusMessage)
  15.     status.addItem(_('&Edit Status Messages...'), id = actions.EditStatusMessage)
  16.     digsby.addItem(_('My Status'), subMenu = status)
  17.     digsby.addItem(_('My &Accounts...'), id = actions.MyAccounts)
  18.     digsby.addSep()
  19.     digsby.addItem(_('&New IM...'), id = actions.NewIM, defaultAccel = 'Ctrl+N')
  20.     digsby.addItem(_('Add &Contact...'), id = actions.AddContact, defaultAccel = 'Ctrl+A')
  21.     digsby.addItem(_('Add &Group...'), id = actions.AddGroup, type = 'checkbox')
  22.     digsby.addItem(_('&Rename Selection'), id = actions.RenameSelection)
  23.     digsby.addItem(_('&Delete Selection...'), id = actions.DeleteSelection)
  24.     digsby.addSep()
  25.     digsby.addItem(_('Sign &Off Digsby'), id = actions.SignOff)
  26.     digsby.addItem(_('E&xit Digsby'), id = actions.Exit)
  27.     menus.append(digsby)
  28.     view = Menu(_('&View'))
  29.     view.addItem(_('&Always On Top'), id = actions.AlwaysOnTop, type = 'checkbox')
  30.     view.addItem(_('Skins...'), id = actions.Skins, defaultAccel = 'Ctrl+S')
  31.     view.addSep()
  32.     if not platformName == 'mac':
  33.         view.addItem(_('&Menu Bar'), id = actions.MenuBar, type = 'checkbox')
  34.     
  35.     view.addItem(_('Status Panel'), id = actions.StatusPanel, type = 'checkbox')
  36.     view.addItem(_('Arrange &Panels...'), id = actions.ArrangePanels)
  37.     view.addSep()
  38.     view.addItem(_('Show &Mobile Contacts'), id = actions.ShowMobileContacts, defaultAccel = 'Ctrl+M', type = 'checkbox')
  39.     view.addItem(_('Show &Offline Contacts'), id = actions.ShowOfflineContacts, defaultAccel = 'Ctrl+O', type = 'checkbox')
  40.     view.addItem(_('&Group Offline Contacts'), id = actions.GroupOfflineContacts, defaultAccel = 'Ctrl+G', type = 'checkbox')
  41.     view.addItem(_('&Hide Offline Groups'), id = actions.HideOfflineGroups, type = 'checkbox')
  42.     sortby = Menu()
  43.     sortby.addItem(_('&None'), id = actions.SortByNone, type = 'checkbox')
  44.     sortby.addItem(_('&Status'), id = actions.SortByStatus, type = 'checkbox')
  45.     sortby.addItem(_('N&ame'), id = actions.SortByName, type = 'checkbox')
  46.     sortby.addItem(_('&Log Size'), id = actions.SortByLogSize, type = 'checkbox')
  47.     sortby.addItem(_('Ser&vice'), id = actions.SortByService, type = 'checkbox')
  48.     sortby.addItem(_('Advan&ced...'), id = actions.SortByAdvanced, type = 'checkbox')
  49.     view.addItem(_('&Sort By'), subMenu = sortby)
  50.     menus.append(view)
  51.     tools = Menu(_('&Tools'))
  52.     tools.addItem(_('&Preferences...'), defaultAccel = 'Ctrl+P', id = actions.Preferences)
  53.     tools.addItem(_('&File Transfer History'), id = actions.FileTransferHistory, defaultAccel = 'Ctrl+J')
  54.     tools.addItem(_('&Chat History'), id = actions.ChatHistory)
  55.     menus.append(tools)
  56.     help = Menu(_('&Help'))
  57.     help.addItem(_('&Documentation'), id = actions.Documentation)
  58.     help.addItem(_('Support &Forums'), id = actions.SupportForums)
  59.     help.addSep()
  60.     help.addItem(_('&Submit Bug Report'), id = actions.SubmitBugReport)
  61.     help.addItem(_('Su&ggest a Feature'), id = actions.SuggestAFeature)
  62.     help.addSep()
  63.     if getattr(sys, 'DEV', False):
  64.         help.addItem(_('Show Debug Console'), id = actions.ShowDebugConsole)
  65.         help.addItem(_('Run Tests'), id = actions.RunTests)
  66.         help.addSep()
  67.     
  68.     help.addItem(_('&Invite Your Friends'), id = actions.InviteYourFriends)
  69.     help.addItem(_('&About Digsby'), id = actions.About)
  70.     menus.append(help)
  71.     return menus
  72.  
  73.